/**
 * @author gaopeng
 * @date 2019/12/14 9:04 下午
 */
public class HighScoreDecorator extends SchoolReportDecorator {
    public HighScoreDecorator(SchoolReport schoolReport) {
        super(schoolReport);
    }

    private void highScore(){
        System.out.println("数学最高分：80，语文最高分：80，英语最高分：69");
    }

    @Override
    public void report() {
        this.highScore();
        super.report();
    }
}
